package com.sz.mapper;

import com.sz.model.TDeal;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface TDealMapper {
    List<TDeal> getAllDeal(String account);

    List<TDeal> getByCondition(@Param("userAccount") String userAccount, @Param("startTime") String startTime,@Param("endTime") String endTime, @Param("selectTime") String selectTime,@Param("condition") String condition);
}